

/**
 * This class creates the Height class. It has two variables, feet and inches,
 * both of type int.
 * 
 * @author Josh Harris
 * @version 1.0
 */

public class Height {
	
	private final int feet, inches;
	
	/**
	 * This constructor creates the feet and inches. 
	 * @param feet Takes in this parameter as a type int. 
	 * @param inches Takes in this parameter as a type int. 
	 */
	public Height(int feet, int inches){
		this.feet = feet;
		this.inches = inches;
	}
	
	/**
	 * This getter gets the feet and returns it as a type int. 
	 * @return Returns the feet as an int.
	 */
	public int getFeet(){
		return this.feet;
	}
	
	/**
	 * This getter gets the inches and returns it as a type int. 
	 * @return Returns the inches as an int.
	 */
	public int getInches(){
		return this.inches;
	}
	
	/**
	 * ex: Height 4' 7"
	 * 
	 * @return the height.
	 */
	public String toString(){
		return "" + feet + "' " + inches + "\"";
	}
	
}
